@import './base.css';

/* 全屏布局优化 */
#app {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-weight: normal;
  display: flex;
  flex-direction: column;
}

/* 全局链接样式 */
a,
.green {
  text-decoration: none;
  color: #667eea;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2px 4px;
  border-radius: 4px;
  position: relative;
}

a:hover,
.green:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: #5a6fd8;
  transform: translateY(-1px);
}

/* 按钮基础样式 */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* 输入框基础样式 */
input, textarea, select {
  font-family: inherit;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* 卡片基础样式 */
.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 响应式网格系统 */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.col {
  flex: 1;
  padding: 0 10px;
}

/* 响应式断点 */
@media (max-width: 1200px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  
  .row {
    margin: 0 -6px;
  }
  
  .col {
    padding: 0 6px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }
  
  .row {
    margin: 0 -4px;
  }
  
  .col {
    padding: 0 4px;
  }
}
